//
//  ThetrackViewController.m
//  TheRoadAD
//
//  Created by baixue on 16/8/16.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "ThetrackViewController.h"
#import "PersonalCell.h"
#import "ComTableView.h"//底部的tableView
#import "ComDetailsViewController.h"

@interface ThetrackViewController ()

@end

@implementation ThetrackViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"赛道日";
    self.view.backgroundColor = [UIColor whiteColor];
    [self setactity];
}

//添加 //活动
-(void)setactity{
    
    ComTableView *tableView = [[ComTableView alloc] initWithFrame:CGRectMake(0, 0, Screen_Width, Screen_Height+60)];
    [self.view addSubview:tableView];
    tableView.didSelect = ^(NSInteger index){
        ComDetailsViewController * com = [[ComDetailsViewController alloc] init];
        [self.navigationController pushViewController:com animated:YES];
    };
    
}



@end
